package com.cn.jinl.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductStorageOutExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProductStorageOutExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeIsNull() {
            addCriterion("storage_out_type is null");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeIsNotNull() {
            addCriterion("storage_out_type is not null");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeEqualTo(String value) {
            addCriterion("storage_out_type =", value, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeNotEqualTo(String value) {
            addCriterion("storage_out_type <>", value, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeGreaterThan(String value) {
            addCriterion("storage_out_type >", value, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeGreaterThanOrEqualTo(String value) {
            addCriterion("storage_out_type >=", value, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeLessThan(String value) {
            addCriterion("storage_out_type <", value, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeLessThanOrEqualTo(String value) {
            addCriterion("storage_out_type <=", value, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeLike(String value) {
            addCriterion("storage_out_type like", value, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeNotLike(String value) {
            addCriterion("storage_out_type not like", value, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeIn(List<String> values) {
            addCriterion("storage_out_type in", values, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeNotIn(List<String> values) {
            addCriterion("storage_out_type not in", values, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeBetween(String value1, String value2) {
            addCriterion("storage_out_type between", value1, value2, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutTypeNotBetween(String value1, String value2) {
            addCriterion("storage_out_type not between", value1, value2, "storageOutType");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeIsNull() {
            addCriterion("storage_out_code is null");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeIsNotNull() {
            addCriterion("storage_out_code is not null");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeEqualTo(String value) {
            addCriterion("storage_out_code =", value, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeNotEqualTo(String value) {
            addCriterion("storage_out_code <>", value, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeGreaterThan(String value) {
            addCriterion("storage_out_code >", value, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeGreaterThanOrEqualTo(String value) {
            addCriterion("storage_out_code >=", value, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeLessThan(String value) {
            addCriterion("storage_out_code <", value, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeLessThanOrEqualTo(String value) {
            addCriterion("storage_out_code <=", value, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeLike(String value) {
            addCriterion("storage_out_code like", value, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeNotLike(String value) {
            addCriterion("storage_out_code not like", value, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeIn(List<String> values) {
            addCriterion("storage_out_code in", values, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeNotIn(List<String> values) {
            addCriterion("storage_out_code not in", values, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeBetween(String value1, String value2) {
            addCriterion("storage_out_code between", value1, value2, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andStorageOutCodeNotBetween(String value1, String value2) {
            addCriterion("storage_out_code not between", value1, value2, "storageOutCode");
            return (Criteria) this;
        }

        public Criteria andRelateIdIsNull() {
            addCriterion("relate_id is null");
            return (Criteria) this;
        }

        public Criteria andRelateIdIsNotNull() {
            addCriterion("relate_id is not null");
            return (Criteria) this;
        }

        public Criteria andRelateIdEqualTo(String value) {
            addCriterion("relate_id =", value, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdNotEqualTo(String value) {
            addCriterion("relate_id <>", value, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdGreaterThan(String value) {
            addCriterion("relate_id >", value, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdGreaterThanOrEqualTo(String value) {
            addCriterion("relate_id >=", value, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdLessThan(String value) {
            addCriterion("relate_id <", value, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdLessThanOrEqualTo(String value) {
            addCriterion("relate_id <=", value, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdLike(String value) {
            addCriterion("relate_id like", value, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdNotLike(String value) {
            addCriterion("relate_id not like", value, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdIn(List<String> values) {
            addCriterion("relate_id in", values, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdNotIn(List<String> values) {
            addCriterion("relate_id not in", values, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdBetween(String value1, String value2) {
            addCriterion("relate_id between", value1, value2, "relateId");
            return (Criteria) this;
        }

        public Criteria andRelateIdNotBetween(String value1, String value2) {
            addCriterion("relate_id not between", value1, value2, "relateId");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeIsNull() {
            addCriterion("storage_out_time is null");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeIsNotNull() {
            addCriterion("storage_out_time is not null");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeEqualTo(String value) {
            addCriterion("storage_out_time =", value, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeNotEqualTo(String value) {
            addCriterion("storage_out_time <>", value, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeGreaterThan(String value) {
            addCriterion("storage_out_time >", value, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeGreaterThanOrEqualTo(String value) {
            addCriterion("storage_out_time >=", value, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeLessThan(String value) {
            addCriterion("storage_out_time <", value, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeLessThanOrEqualTo(String value) {
            addCriterion("storage_out_time <=", value, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeLike(String value) {
            addCriterion("storage_out_time like", value, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeNotLike(String value) {
            addCriterion("storage_out_time not like", value, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeIn(List<String> values) {
            addCriterion("storage_out_time in", values, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeNotIn(List<String> values) {
            addCriterion("storage_out_time not in", values, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeBetween(String value1, String value2) {
            addCriterion("storage_out_time between", value1, value2, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutTimeNotBetween(String value1, String value2) {
            addCriterion("storage_out_time not between", value1, value2, "storageOutTime");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserIsNull() {
            addCriterion("storage_out_user is null");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserIsNotNull() {
            addCriterion("storage_out_user is not null");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserEqualTo(String value) {
            addCriterion("storage_out_user =", value, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserNotEqualTo(String value) {
            addCriterion("storage_out_user <>", value, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserGreaterThan(String value) {
            addCriterion("storage_out_user >", value, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserGreaterThanOrEqualTo(String value) {
            addCriterion("storage_out_user >=", value, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserLessThan(String value) {
            addCriterion("storage_out_user <", value, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserLessThanOrEqualTo(String value) {
            addCriterion("storage_out_user <=", value, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserLike(String value) {
            addCriterion("storage_out_user like", value, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserNotLike(String value) {
            addCriterion("storage_out_user not like", value, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserIn(List<String> values) {
            addCriterion("storage_out_user in", values, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserNotIn(List<String> values) {
            addCriterion("storage_out_user not in", values, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserBetween(String value1, String value2) {
            addCriterion("storage_out_user between", value1, value2, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutUserNotBetween(String value1, String value2) {
            addCriterion("storage_out_user not between", value1, value2, "storageOutUser");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountIsNull() {
            addCriterion("storage_out_count is null");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountIsNotNull() {
            addCriterion("storage_out_count is not null");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountEqualTo(String value) {
            addCriterion("storage_out_count =", value, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountNotEqualTo(String value) {
            addCriterion("storage_out_count <>", value, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountGreaterThan(String value) {
            addCriterion("storage_out_count >", value, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountGreaterThanOrEqualTo(String value) {
            addCriterion("storage_out_count >=", value, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountLessThan(String value) {
            addCriterion("storage_out_count <", value, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountLessThanOrEqualTo(String value) {
            addCriterion("storage_out_count <=", value, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountLike(String value) {
            addCriterion("storage_out_count like", value, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountNotLike(String value) {
            addCriterion("storage_out_count not like", value, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountIn(List<String> values) {
            addCriterion("storage_out_count in", values, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountNotIn(List<String> values) {
            addCriterion("storage_out_count not in", values, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountBetween(String value1, String value2) {
            addCriterion("storage_out_count between", value1, value2, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutCountNotBetween(String value1, String value2) {
            addCriterion("storage_out_count not between", value1, value2, "storageOutCount");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusIsNull() {
            addCriterion("storage_out_status is null");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusIsNotNull() {
            addCriterion("storage_out_status is not null");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusEqualTo(String value) {
            addCriterion("storage_out_status =", value, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusNotEqualTo(String value) {
            addCriterion("storage_out_status <>", value, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusGreaterThan(String value) {
            addCriterion("storage_out_status >", value, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusGreaterThanOrEqualTo(String value) {
            addCriterion("storage_out_status >=", value, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusLessThan(String value) {
            addCriterion("storage_out_status <", value, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusLessThanOrEqualTo(String value) {
            addCriterion("storage_out_status <=", value, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusLike(String value) {
            addCriterion("storage_out_status like", value, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusNotLike(String value) {
            addCriterion("storage_out_status not like", value, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusIn(List<String> values) {
            addCriterion("storage_out_status in", values, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusNotIn(List<String> values) {
            addCriterion("storage_out_status not in", values, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusBetween(String value1, String value2) {
            addCriterion("storage_out_status between", value1, value2, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStorageOutStatusNotBetween(String value1, String value2) {
            addCriterion("storage_out_status not between", value1, value2, "storageOutStatus");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}